<% # recibe local: top , por default es tres%>
<% top = 3 unless top %>
<table class="fill_body">
	<tr>
		<th colspan="14">M&eacute;todos de marketing m&aacute;s efectivos</th>
	</tr>
	<tr>
		<th colspan="14"><%= @year %></th>
	</tr>
	<tr>
		<th></th>
		<th>Ene</th>
		<th>Feb</th>
		<th>Mar</th>
		<th>Abr</th>
		<th>May</th>
		<th>Jun</th>
		<th>Jul</th>
		<th>Ago</th>
		<th>Sep</th>
		<th>Oct</th>
		<th>Nov</th>
		<th>Dic</th>
	</tr>
	<%i=0%>
	<% while i < top %>
		<tr class="row<%=i%2%>">
			<td><%=h i+1%></td>
			<%for d in @ranking_comosupos%>
				<td>
					<%if d[i] then%>
						<%if d[i].comosupo then%>
							<%=h d[i].comosupo.nombre%>(<%=d[i].cant%>)
						<%else%>
							N/A(<%=d[i].cant%>)
						<%end%>
					<%else%>
						-
					<%end%>
				</td>
			<%end%>
		</tr>
		<%i+=1%>
	<%end%>
</table>